Does it ever make sense to call [init] outside of [[alloc] init]?

Posted by iter on Stack Overflow See other posts from Stack Overflow or by iter
Published on 2010-05-02T06:37:21Z Indexed on 2010/05/02 6:47 UTC
Read the original article Hit count: 111

Filed under:
|

I am wondering if [[alloc] init] is just a convention or if separating the two calls has wider use. For instance, I wonder if people ever call [init] (or friends) on an existing object to "re-initialize" it.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about oop